package com.atguigu.kaiser;

/**
 * @program: IDEAcode
 * @description:
 * @author: Mr.zjx
 * create: 2021-08-04-15-24
 **/
public class Bybit {
    public static void main(String[] args) {
        String a = "A";
        byte[] bytes = a.getBytes();
        for (byte b : bytes){
            System.out.println("b = " + b);
            String s = Integer.toBinaryString(b);//转为二进制
            System.out.println(s);
        }
    }
}
